package com.spongeli.user.mapper;

import com.spongeli.entity.SaleThread;
import com.spongeli.entity.SaleThreadExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SaleThreadMapper {
    int countByExample(SaleThreadExample example);

    int deleteByExample(SaleThreadExample example);

    int deleteByPrimaryKey(Long pid);

    int insert(SaleThread record);

    int insertSelective(SaleThread record);

    List<SaleThread> selectByExample(SaleThreadExample example);

    SaleThread selectByPrimaryKey(Long pid);

    int updateByExampleSelective(@Param("record") SaleThread record, @Param("example") SaleThreadExample example);

    int updateByExample(@Param("record") SaleThread record, @Param("example") SaleThreadExample example);

    int updateByPrimaryKeySelective(SaleThread record);

    int updateByPrimaryKey(SaleThread record);
}